const isDev = process.env.NODE_ENV === 'development' ? true : false
const publishUrl = 'https://bkycms.com/addons/yb_wm/views/common/template/'
const backendPath = isDev
? publishUrl
: location.href.match(/(\S*)views/)[1] + 'views/common/template/'
module.exports =
{
    "body": {
        "list": [
            {
                "title": "热区",
                "name": "hot",
                "styles": {
                    "marginTop": "0",
                    "marginBottom": "0",
                    "marginLeft": "0",
                    "marginRight": "0",
                    "circle": "0",
                    "img": backendPath+"style4/202011181037162229.jpg",
                    "divStyles": [
                        {
                            "width": "739",
                            "height": "529",
                            "sX": " 0",
                            "sY": " 0",
                            "status": "true",
                            "url": "{\"params\":\"product\",\"name\":{\"id\":\"4\",\"name\":\"豆豆丸子乳茶\",\"icon\":\"backendPath+\"style4/202010211102231169.jpg\",\"salesNum\":\"0\",\"typePid\":\"4\",\"typeId\":null,\"price\":\"0.01\",\"stock\":null,\"isRecommend\":\"1\",\"display\":\"1\",\"maxPrice\":null,\"isSpecs\":\"2\",\"category_name\":\"牛乳茶\"},\"category\":\"商品\"}",
                            "name": "豆豆丸子乳茶"
                        },
                        {
                            "width": "298",
                            "height": "350",
                            "sX": " 44",
                            "sY": " 564",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"TakeFood\",\"name\":\"自取\"},\"category\":\"平台首页\"}",
                            "name": "自取"
                        },
                        {
                            "width": "312",
                            "height": "347",
                            "sX": " 368",
                            "sY": " 568",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"takeOutFood\",\"name\":\"外卖\"},\"category\":\"平台首页\"}",
                            "name": "外卖"
                        }
                    ],
                    "marginLR": "0"
                }
            },
            {
                "title": "热区",
                "name": "hot",
                "styles": {
                    "marginTop": "0",
                    "marginBottom": "0",
                    "marginLeft": "0",
                    "marginRight": "0",
                    "circle": "0",
                    "img": backendPath+"style4/202011181037308213.jpg",
                    "divStyles": [
                        {
                            "width": "304",
                            "height": "369",
                            "sX": " 0",
                            "sY": " 0",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"couponCenter\",\"name\":\"领券中心\"},\"category\":\"平台首页\"}",
                            "name": "领券中心"
                        },
                        {
                            "width": "363",
                            "height": "167",
                            "sX": " 333",
                            "sY": " 4",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"signIndex\",\"name\":\"签到中心\"},\"category\":\"平台首页\"}",
                            "name": "签到中心"
                        },
                        {
                            "width": "380",
                            "height": "175",
                            "sX": " 323",
                            "sY": " 209",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"integralShop\",\"name\":\"积分商城\"},\"category\":\"平台首页\"}",
                            "name": "积分商城"
                        },
                        {
                            "width": "674",
                            "height": "200",
                            "sX": " 27",
                            "sY": " 485",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"balanceRecharge\",\"name\":\"充值中心\"},\"category\":\"平台首页\"}",
                            "name": "充值中心"
                        }
                    ],
                    "marginLR": "0"
                }
            },
            {
                "title": "辅组空白",
                "name": "blank",
                "styles": {
                    "height": 15,
                    "colorBg": "#fff"
                }
            }
        ],
        "pageSetting": [
            {
                "title": "页面设置",
                "name": "nameless",
                "styles": {
                    "modulePage": "2",
                    "colorIcon": "#F5F5F5",
                    "colorBg": "#fff",
                    "moduleTitle": "1",
                    "title": "酒窝甜品",
                    "navTitle": "酒窝甜品",
                    "img": backendPath+"style4/202011181002541697.jpg",
                    "colorWord": "#333"
                }
            }
        ],
        "susBtn": [
            {
                "title": "悬浮设置",
                "name": "susBtn",
                "status": "0",
                "styles": {
                    "status": "0",
                    "type": "left",
                    "shifting": "600",
                    "imgUrl": [
                        {
                            "img": "",
                            "url": ""
                        }
                    ]
                }
            }
        ],
        "attention": [
            {
                "title": "关注条",
                "name": "attention",
                "styles": {
                    "status": "1",
                    "img": backendPath+"style4/202010211103517827.jpg",
                    "text": "点击关注我们哦~买奶茶更方便！酒窝甜品祝您天天快乐"
                }
            }
        ],
        "remind": [
            {
                "title": "下单提醒",
                "name": "remind",
                "styles": {
                    "status": "0",
                    "colorWord": "#fff",
                    "colorBg": "#000",
                    "percent": "80",
                    "shifting": "120",
                    "type": "2",
                    "numberList": [
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        },
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        }
                    ]
                }
            }
        ],
        "open": [
            {
                "title": "启动页",
                "name": "open",
                "styles": {
                    "status": "1",
                    "type": "1",
                    "colorBg": "#000",
                    "percent": "30",
                    "imgUrl": [
                        {
                            "img": backendPath+"style4/202011181040566574.jpg",
                            "url": ""
                        }
                    ]
                }
            }
        ],
        "menu": [
            {
                "title": "导航",
                "name": "menu",
                "styles": {
                    "colorSelect": "#070707",
                    "colorUnselect": "#999",
                    "colorLine": "#eee",
                    "colorBg": "#fff",
                    "imgUrl": [
                        {
                            "text": "首页",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "index",
                                    "name": "首页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style4/202010211054208667.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style4/202010211054243893.png"
                                }
                            ]
                        },
                        {
                            "text": "点单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "goods",
                                    "name": "点单页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style4/202010211054347072.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style4/202010211054377687.png"
                                }
                            ]
                        },
                        {
                            "text": "订单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "myOrder",
                                    "name": "我的订单"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style4/202010211054405359.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style4/202010211054424273.png"
                                }
                            ]
                        },
                        {
                            "text": "我的",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "member",
                                    "name": "个人中心"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style4/202010211054302998.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style4/202010211054277691.png"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "page": "1",
    "name": "甜品店模板"
}
